package fr.esiea.erg5203.mvc.controllers;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller  
@RequestMapping(value = "/index.jsp")
public class UpdateController {
	
	@RequestMapping(params = "action=update")
	public ModelAndView update(HttpServletRequest request)
	{		
		ModelAndView result = new ModelAndView("update");
		System.out.println("Update Meth");
		return result;
	}		

}
